package com.example.jwtauthdemo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableFeignClients(basePackages = { "com.example.jwtauthdemo.client", "com.example.jwtauthdemo.webclient"})
@EnableCaching
@EnableTransactionManagement
@MapperScan("com.example.jwtauthdemo.mapper")
public class TeacherApplicattion {
    public static void main(String[] args) {
        SpringApplication.run(TeacherApplicattion.class, args);
    }
}